* {
    padding: 0;
    margin: 0;
}

body {
    background-color: rgb(248, 248, 248);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

// 头部 搜素框 
.header {
    width: 100%;
    height: 140px;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
    background: #fff;
    .head>img{
        width: 80px;
        height: 80px;
        border-radius: 50%;
    }
   .logo>img {
        width: 160px;
        height: 60px;
    }

    input {
        width: 500px;
        height: 50px;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        vertical-align: top;
        font-size: 18px;
    }

    button {
        width: 90px;
        height: 54px;
        background-color: rgb(255, 195, 0);
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        font-size: 18px;
    }
    span{
        display: inline-block;
        padding:7px;
        background: rgb(5, 153, 49);
        color: #fff;
        cursor: pointer
        
        
    };
    .deng{
        p{
            font-weight: bold;
            color: rgb(243, 243, 245);
            margin-top: 5px;
            width: 60px;
            padding: 5px;
            background: rgb(60, 56, 248);
        }
    }

}

//登录界面  注册界面
.login-sign{
    form {
        width: 400px;
        height: 400px;
        background: rgb(117, 139, 240);
        padding-top: 30px;
        text-align: center;
        border-radius: 20px;
        // display: none;
        position: absolute;
        top: 200px;
        right: 100px;
        z-index: 999;
        input {
            width: 200px;
            height: 30px;
            margin-left: 8px;
            border-radius: 10px;
            margin-top: 20px;
           border: 1px solid tomato;
           
        }
      
        #confirm ,#login-confirm{
            width: 120px;
            height: 40px;
            font-size: 20px;
            color: #fff;
            margin-top: 20px;
            border-radius: 40px;
            border: none;
            background: rgba(214, 141, 6);
            cursor: pointer;
        }
        p{
            color: rgb(228, 10, 46);
            font-size: 16px;
        }
        
    }
}
//登录界面显示
.login{
    display: none;  
  } 
//注册界面
 .sign{
  display: none;  

} 
.nav-t {
    display: flex;
    flex-direction: column;
     cursor: pointer;
     ol {
        line-height: 80px;
        width: 800px;
        height: 80px;
        color: black;
        font-size: 20px;
        display: flex;
        margin: auto;
        justify-content: space-between;

        li {
            &:hover {
                color: rgb(241, 133, 10);
            }
        }
    }
}
.active{
    border-bottom: 3px solid red;
    color: rgb(241, 133, 10);
}
//商品列表
.container {
    width: 1200px;
    margin:20px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    .item {
        background-color: white;
        width: 270px;
        height: 320px;
        margin-top: 15px;

        img {
            width: 270px;
            height: 250px;
        }
        p {
            font-size: 14px;
            color: rgb(70, 69, 69);
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .price {
            margin-top: 10px;
            span {
                color: red;
                font-size: 18px;
            }

        }

        &:hover {
            background-color: rgb(252, 217, 217);
        }
    }
}